import request from '@/utils/request.js'
import {mappingAdress } from '@/utils/util.js'

// 历史记录分页查询
export const queryChatMessagesPage = data => request.post(mappingAdress.get('/weChat/userRobot/queryChatMessagesPage'), data)

//  发起提问 收到回复
export const getReply = data => request.post(mappingAdress.get('/weChat/userRobot/getReply'), data)

// 有用没用

export const updateUsefulFlag = data => request.post(mappingAdress.get('/weChat/userRobot/updateUsefulFlag'), data)